package io.renren.modules.sys.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.sys.entity.SupplierEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * 供应商/客户信息表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-11-22 14:29:36
 */
public interface SupplierService extends IService<SupplierEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils querySuppliers(Map<String, Object> params);

    PageUtils findBySelect_retail(Map<String, Object> params);

    public InputStream importExcel(MultipartFile file) throws Exception;

    public InputStream exmportExcel(String isAllPage, List<SupplierEntity> list) throws Exception;
}

